<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Xyz.Framework.Shared.DataContracts.DTO" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Xyz.Framework.Shared.DataContracts.DTO" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://als-yu39408-e00.baogrenci.com:8090/AuthenticationManagementService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Xyz.Framework.Shared.DataContracts.Enums" />
  <xs:complexType name="AuthenticatedUserDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="Roles" nillable="true" type="tns:ArrayOfRoleDetailsDTO" />
      <xs:element minOccurs="0" name="User" nillable="true" type="tns:UserDetailsDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AuthenticatedUserDTO" nillable="true" type="tns:AuthenticatedUserDTO" />
  <xs:complexType name="ArrayOfRoleDetailsDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="RoleDetailsDTO" nillable="true" type="tns:RoleDetailsDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRoleDetailsDTO" nillable="true" type="tns:ArrayOfRoleDetailsDTO" />
  <xs:complexType name="RoleDetailsDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="AuthorizedApplications" nillable="true" type="tns:ArrayOfWebApplicationDTO" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/Xyz.Framework.Shared.DataContracts.Enums" minOccurs="0" name="RoleAuthorities" nillable="true" type="q1:ArrayOfEFrameworkAuthority" />
      <xs:element minOccurs="0" name="RoleId" type="xs:int" />
      <xs:element minOccurs="0" name="RoleName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RoleDetailsDTO" nillable="true" type="tns:RoleDetailsDTO" />
  <xs:complexType name="ArrayOfWebApplicationDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="WebApplicationDTO" nillable="true" type="tns:WebApplicationDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfWebApplicationDTO" nillable="true" type="tns:ArrayOfWebApplicationDTO" />
  <xs:complexType name="WebApplicationDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="Enabled" type="xs:boolean" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Uri" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="WebApplicationDTO" nillable="true" type="tns:WebApplicationDTO" />
  <xs:complexType name="UserDetailsDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Sms" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UserDetailsDTO" nillable="true" type="tns:UserDetailsDTO" />
</xs:schema>